﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Domain.审计字段;

namespace Domainwj.结算管理
{
    /// <summary>
    /// 进销项发票管理
    /// </summary>
    public class InboundOutboundInvoiceManagement : AuditableEntityBase
    {
        /// <summary>
        /// 进销项发票Id
        /// </summary>
        [Key]

        public int Id { get; set; }
        /// <summary>
        /// 进销单位名称
        /// </summary>
        public string DistributorName { get; set; }
        /// <summary>
        /// 发票号
        /// </summary>
        public string InvoiceNo { get; set; }
        /// <summary>
        /// 发票类型
        /// </summary>
        public bool InvoiceType { get; set; }
        /// <summary>
        /// 发票金额
        /// </summary>
        public decimal InvoiceAmount { get; set; }
        /// <summary>
        /// 税率
        /// </summary>
        public decimal TaxRate { get; set; }
        /// <summary>
        /// 税额
        /// </summary>
        public decimal TaxAmount { get; set; }
        /// <summary>
        /// 开票日期
        /// </summary>
        public DateTime? InvoiceDate { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Notes { get; set; }
        /// <summary>
        /// 制单人
        /// </summary>
        public string Preparer { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreatedTime { get; set; }
        /// <summary>
        /// 进销发票(0为进项发票1为销项发票)
        /// </summary>
        public bool PurchaseSalesInvoices { get; set; }
       
    }
}
